/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cabecera */
header {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    margin-right: 15px;
}
.logo h1 {
    font-size: 1.8rem;
}

/* Contacto en cabecera */
.contact-header {
    text-align: right;
    font-size: 0.9rem;
}
.contact-header p {
    margin: 0.2rem 0;
}
.contact-header i {
    margin-right: 5px;
}

/* Menú de Navegación */
nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.menu {
    display: flex;
    list-style: none;
}
.menu li {
    position: relative;
}
.menu li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.menu li a:hover {
    background-color: #f0f8ff;
    color: #0066cc;
}
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 1rem;
}

/* Contenido principal */
main {
    flex: 1;
    padding: 2rem 0;
    text-align: center;
}

/* Slider */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sliderContainer {
    display: flex;
    transition: opacity 0.5s ease-in-out;
    width: 300%;
}

.sliderItem {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.sliderImg {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.sliderNav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.sliderNav .prev, .sliderNav .next {
    background-color: rgba(53, 51, 51, 0);
    color: white;
    padding: 10px;
    cursor: pointer;
    border: none;
    font-size: 40px;
}

/* Pie de Página */
footer {
    background-color: #003366;
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}
.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}
.footer-links h4 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 5px;
}
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff6600;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
/* Colores específicos para cada red social */
.social-links a:hover[href*="linkedin"] {
    background-color: #0A66C2; /* Azul LinkedIn */
}
.social-links a:hover[href*="instagram"] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); /* Degradado Instagram */
}
.social-links a:hover[href*="tiktok"] {
    background-color: #000000; /* Negro TikTok */
}
.social-links a:hover[href*="facebook"] {
    background-color: #1877F2; /* Azul Facebook */
}
.social-links a:hover[href*="twitter"] {
    background-color: #1DA1F2; /* Azul Twitter */
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .menu.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .contact-header {
        display: none;
    }
}
